<template>
  <div class="header">
    <x-header :title="titleName" ></x-header>
  </div>
</template>

<script>
import { XHeader } from 'vux'

export default {
  components: {
    XHeader
  },
  // 不写在data里面
  props: ['titleName'],
  data () {
    return {

    }
  }
}
</script>
